package com.offcn.user.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.lang.Long;
import java.util.Date;
import java.lang.String;
import java.lang.Integer;

/****
 * @Author:ujiuye
 * @Description:User构建
 * @Date 2021/2/1 14:19
 *****/
@ApiModel(description = "User", value = "User")
@TableName(value = "tb_user")
public class User implements Serializable {

    @ApiModelProperty(value = "", required = false)
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Long id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", required = false)
    @TableField(value = "username")
    private String username;

    /**
     * 密码，加密存储
     */
    @ApiModelProperty(value = "密码，加密存储", required = false)
    @TableField(value = "password")
    private String password;

    /**
     * 注册手机号
     */
    @ApiModelProperty(value = "注册手机号", required = false)
    @TableField(value = "phone")
    private String phone;

    /**
     * 注册邮箱
     */
    @ApiModelProperty(value = "注册邮箱", required = false)
    @TableField(value = "email")
    private String email;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", required = false)
    @TableField(value = "created")
    private Date created;

    @ApiModelProperty(value = "", required = false)
    @TableField(value = "updated")
    private Date updated;

    /**
     * 会员来源：1:PC，2：H5，3：Android，4：IOS，5：WeChat
     */
    @ApiModelProperty(value = "会员来源：1:PC，2：H5，3：Android，4：IOS，5：WeChat", required = false)
    @TableField(value = "source_type")
    private String sourceType;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", required = false)
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名", required = false)
    @TableField(value = "name")
    private String name;

    /**
     * 使用状态（Y正常 N非正常）
     */
    @ApiModelProperty(value = "使用状态（Y正常 N非正常）", required = false)
    @TableField(value = "status")
    private String status;

    /**
     * 头像地址
     */
    @ApiModelProperty(value = "头像地址", required = false)
    @TableField(value = "head_pic")
    private String headPic;

    /**
     * QQ号码
     */
    @ApiModelProperty(value = "QQ号码", required = false)
    @TableField(value = "qq")
    private String qq;
    /**
     * 账户余额
     */
    @ApiModelProperty(value = "账户余额", required = false)
    @TableField(value = "account_balance")
    private BigDecimal accountBalance;

    /**
     * 手机是否验证 （0否  1是）
     */
    @ApiModelProperty(value = "手机是否验证 （0否  1是）", required = false)
    @TableField(value = "is_mobile_check")
    private String isMobileCheck;

    /**
     * 邮箱是否检测（0否  1是）
     */
    @ApiModelProperty(value = "邮箱是否检测（0否  1是）", required = false)
    @TableField(value = "is_email_check")
    private String isEmailCheck;

    /**
     * 性别，1男，2女
     */
    @ApiModelProperty(value = "性别，1男，2女", required = false)
    @TableField(value = "sex")
    private String sex;

    /**
     * 会员等级
     */
    @ApiModelProperty(value = "会员等级", required = false)
    @TableField(value = "user_level")
    private Integer userLevel;

    /**
     * 积分
     */
    @ApiModelProperty(value = "积分", required = false)
    @TableField(value = "points")
    private Integer points;

    /**
     * 经验值
     */
    @ApiModelProperty(value = "经验值", required = false)
    @TableField(value = "experience_value")
    private Integer experienceValue;

    /**
     * 生日
     */
    @ApiModelProperty(value = "生日", required = false)
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * 最后登录时间
     */
    @ApiModelProperty(value = "最后登录时间", required = false)
    @TableField(value = "last_login_time")
    private Date lastLoginTime;


    public Long getId() {  //get方法
        return id;
    }


    public void setId(Long id) {    //set方法
        this.id = id;
    }

    public String getUsername() {    //get方法
        return username;
    }


    public void setUsername(String username) {  //set方法
        this.username = username;
    }


    public String getPassword() {   //get方法
        return password;
    }


    public void setPassword(String password) {    //set方法
        this.password = password;
    }


    public String getPhone() {     //get方法
        return phone;
    }


    public void setPhone(String phone) {    //set方法
        this.phone = phone;
    }


    public String getEmail() {    //get方法
        return email;
    }


    public void setEmail(String email) {    //set方法
        this.email = email;
    }


    public Date getCreated() {    //get方法
        return created;
    }


    public void setCreated(Date created) {    //set方法
        this.created = created;
    }


    public Date getUpdated() {    //get方法
        return updated;
    }


    public void setUpdated(Date updated) {    //set方法
        this.updated = updated;
    }


    public String getSourceType() {    //get方法
        return sourceType;
    }


    public void setSourceType(String sourceType) {    //set方法
        this.sourceType = sourceType;
    }


    public String getNickName() {    //get方法
        return nickName;
    }


    public void setNickName(String nickName) {    //set方法
        this.nickName = nickName;
    }


    public String getName() {    //get方法
        return name;
    }


    public void setName(String name) {    //set方法
        this.name = name;
    }


    public String getStatus() {    //get方法
        return status;
    }

    public void setStatus(String status) {    //set方法
        this.status = status;
    }


    public String getHeadPic() {    //get方法
        return headPic;
    }


    public void setHeadPic(String headPic) {    //set方法
        this.headPic = headPic;
    }


    public String getQq() {    //get方法
        return qq;
    }


    public void setQq(String qq) {    //set方法
        this.qq = qq;
    }


    public BigDecimal getAccountBalance() {    //get方法
        return accountBalance;
    }


    public void setAccountBalance(BigDecimal accountBalance) {    //set方法
        this.accountBalance = accountBalance;
    }


    public String getIsMobileCheck() {    //get方法
        return isMobileCheck;
    }


    public void setIsMobileCheck(String isMobileCheck) {    //set方法
        this.isMobileCheck = isMobileCheck;
    }


    public String getIsEmailCheck() {    //get方法
        return isEmailCheck;
    }


    public void setIsEmailCheck(String isEmailCheck) {    //set方法
        this.isEmailCheck = isEmailCheck;
    }


    public String getSex() {    //get方法
        return sex;
    }


    public void setSex(String sex) {    //set方法
        this.sex = sex;
    }


    public Integer getUserLevel() {    //get方法
        return userLevel;
    }


    public void setUserLevel(Integer userLevel) {    //set方法
        this.userLevel = userLevel;
    }


    public Integer getPoints() {    //get方法
        return points;
    }


    public void setPoints(Integer points) {    //set方法
        this.points = points;
    }


    public Integer getExperienceValue() {    //get方法
        return experienceValue;
    }


    public void setExperienceValue(Integer experienceValue) {    //set方法
        this.experienceValue = experienceValue;
    }


    public Date getBirthday() {    //get方法
        return birthday;
    }


    public void setBirthday(Date birthday) {    //set方法
        this.birthday = birthday;
    }


    public Date getLastLoginTime() {    //get方法
        return lastLoginTime;
    }


    public void setLastLoginTime(Date lastLoginTime) {    //set方法
        this.lastLoginTime = lastLoginTime;
    }


}
